package com.consumer.order.service;

import com.consumer.order.entity.orders;
import com.goods.entity.goods;

import java.util.List;

public interface orderService {
    //创建订单
    orders create(Integer[] gid);
    //删除订单
    void delete(orders o);
    //修改订单信息
    orders update(orders o);
    //根据
    // 订单id查找
    orders findOne(Integer oid);
    //显示全部订单
    List<orders> findAll();

    List<goods> findAllgoods();
}
